package com.fqxiny.lease.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

/**
 * 公寓&配套关联表
 * @TableName apartment_facility
 */
@Schema(description = "公寓&配套关系")
@TableName(value ="apartment_facility")
@Data
@Builder
public class ApartmentFacility extends BaseEntity {

    /**
     * 公寓id
     */
    @Schema(description = "公寓id")
    @TableField(value = "apartment_id")
    private Long apartmentId;

    /**
     * 设施id
     */
    @Schema(description = "设施id")
    @TableField(value = "facility_id")
    private Long facilityId;



    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}